How do I count columns of a table

后端 未结 8 1935
独厮守ぢ
独厮守ぢ 2020-11-30 02:43

For example :

tbl_ifo

id | name  | age | gender 
----------------------------
1  | John  |  15 |  Male
2  | Maria |  18 |  Female
3  | Steph |  19 |  Female         


        
8条回答
  •  悲哀的现实
    2020-11-30 03:32

    I think you want to know the total entries count in a table! For that use this code..

    SELECT count( * ) as Total_Entries FROM tbl_ifo;

提交回复
热议问题