how to know the tables in database having foreign key?

Answer Posted / sudhanshu_kmr

use this .....

show create table <tablename>;


it will describe all the properties of the table.

here <tablename> is name of table for which u want to know about.

for example-

SHOW CREATE TABLE STUDENT;

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you need a license for mysql?

506


What are the types of queries?

489


How do I show all mysql databases?

505


What is a string in mysql?

465


How to show all tables with 'mysql'?

524






How to determine the location of the data directory?

496


How to convert character strings to dates?

531


What are the difference between now and current_date in mysql?

651


Does mysql use t sql?

574


Do while loop in mysql procedure?

491


How to write date and time literals?

546


What are the functions in mysql?

497


What is a crosstab query?

510


How to enter binary numbers in sql statements?

513


What is data type for image in mysql?

453