tid(int)|p1(TEXT)|p2(TEXT)
1|'hello'|'aaaa'
2|'xxxx'|'bbb'
3|'xxxx'|'bbb'
查tid=1的p1的值; select p1 from table where tid=1;
查p2='bbb'的总数有多少. select count(*) from table where p2='bbb'
tid(int)|p1(TEXT)|p2(TEXT)
1|'hello'|'aaaa'
2|'xxxx'|'bbb'
3|'xxxx'|'bbb'
'hello'|2
查tid=1的p1的值; select p1 from table where tid=1;
查p2='bbb'的总数有多少. select count(*) from table where p2='bbb'
tid(int)|p1(TEXT)|p2(TEXT)
1|'hello'|'aaaa'
2|'xxxx'|'bbb'
3|'xxxx'|'bbb'
'hello'|2
查tid=1的p1的值; select p1 from table where tid=1;
查p2='bbb'的总数有多少. select count(*) from table where p2='bbb'