SELECT *, COUNT(*) in SQLite

前端 未结 4 1190
余生分开走
余生分开走 2020-12-17 09:14

If i perform a standard query in SQLite:

SELECT * FROM my_table

I get all records in my table as expected. If i perform following query:

4条回答
  •  再見小時候
    2020-12-17 09:57

    If you want to count the number of records in your table, simply run:

        SELECT COUNT(*) FROM your_table;
    

提交回复
热议问题