how to know the tables in database having foreign key?

Answers were Sorted based on User's Feedback



how to know the tables in database having foreign key?..

Answer / rahul

DESC <tableName>

This will give you all property of table. Where Key column show you key description.

Is This Answer Correct ?    1 Yes 0 No

how to know the tables in database having foreign key?..

Answer / 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

More MySQL Interview Questions

What is a blob datatype?

0 Answers  


What is session variable in mysql?

0 Answers  


How many rows can a mysql table hold?

0 Answers  


What is clob datatype?

0 Answers  


How do I change a procedure in mysql?

0 Answers  






How do I insert an image into mysql workbench?

0 Answers  


How do I show users in mysql?

0 Answers  


Where is mysql used?

0 Answers  


How database are managed?

0 Answers  


What is the data type for file in mysql?

0 Answers  


How to enter microseconds in sql statements?

0 Answers  


what is mySQL. Is there any specific qualification required to do this course ? What is the scope in India after doing mySQL

0 Answers  


Categories