Answers for "see tables in sqlite"

SQL
4

list tables sqlite

>sqlite3 c:\db\my_base						-- opens database
sqlite> .tables								-- all tables
sqlite> .table '%es'						-- tables ending with 'es'
-- Via SQL:
SELECT name FROM  sqlite_master 
WHERE type ='table' AND name NOT LIKE 'sqlite_%';
Posted by: Guest on May-20-2021
2

sqlite show table structure

sqlite> .schema my_table
Posted by: Guest on May-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language