Home Sql Mysql-example Mysql List Tables



Mysql List Tables
Posted on: January 17, 2009 at 12:00 AM
The Tutorial illustrate an example from 'Mysql List Tables'.

Mysql List Tables

     

The Tutorial illustrate an example from 'Mysql  List Tables'. To understand this example we use show tables query that return the list of tables in database name 'Table_in_girish'. The Syntax used to display the list of tables in database are given below:

show tables: The showtables is used to show the list of tables present in database.

show tables;

 

 

 

 

Query to list the tables in the database:

mysql> show tables;
+------------------+
| Tables_in_girish |
+------------------+
| emp              |
| employee         |
| employee1        |
| employee2        |
| employee_log     |
| employees1       |
| news             |
| newscategories   |
| newscount        |
| newstrack        |
| person           |
| roseindia        |
| shelf            |
| stu_table




					1       |
| timetable        |
+------------------+
15 rows in set (0.00 sec)

Related Tags for Mysql List Tables:
sqlmysqldatabasequerylisttabledatatablestutorialnamereturnriathistabshowexampletobaseexamsheilliusefrominasstamtresasemehowratetorxaxampsurnatmyisirhallmplandstrtutorssrithshostabablhatpleplndomo


More Tutorials from this section

Ask Questions?    Discuss: Mysql List Tables  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.