Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Sql Sql-functions Mysql List Tables

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql List Tables

Advertisement
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'.

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_table1       |
| timetable        |
+------------------+
15 rows in set (0.00 sec)
Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: January 16, 2009

Related Tutorials

Discuss: Mysql List Tables   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com