It is necessary to count the number of lines in the rec_id branch with a value of, for example, 1 and output this value to ' print() '
rec_id
1
print()
SELECT COUNT(rec_id) from ТАБЛИЦА where rec_id='1'
To count the number of rows, use the COUNT () method:
To get the amount, you can use the SUM () method:
SELECT SUM(voice) from ТАБЛИЦА where rec_id='1'
Source: https://ru.stackoverflow.com/questions/517720/More articles:Database structure for bloggoogle maps. How to determine the location of a point in the object map feature?Node js date unknown formatchange favicon in subdomainPhp encoding bugThe computer sees the device, but there is no Android StudioChart (BarChart) - ScrollView - AndroidWhy does save () work once?Problem with adding filter / servlet cookiesonmouseover, onmouseout. Do not change the elementAll Articles
SELECT COUNT(rec_id) from ТАБЛИЦА where rec_id='1'- LamerXaKer