mysql 搜索查詢,如何讓MYSQL的查詢返回一整行的數(shù)據(jù)?
不大明白你的問題,假如是B列為X值的所有數(shù)據(jù)就不用LIMIT了。假如你要統(tǒng)計為X的數(shù)量或者總和可以用到count和sum函數(shù)select * from A where b='X'select count(*) from A where b='X'
不大明白你的問題,假如是B列為X值的所有數(shù)據(jù)就不用LIMIT了。假如你要統(tǒng)計為X的數(shù)量或者總和可以用到count和sum函數(shù)select * from A where b='X'select count(*) from A where b='X'