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 the command line end user interface - mysql?

0 Answers  


How do I edit a trigger in mysql?

0 Answers  


What is a table schema?

0 Answers  


How do I create a stored procedure in mysql?

0 Answers  


Where the database is stored in mysql?

0 Answers  






What are the differences between char and nchar?

0 Answers  


How do I stop a mysql service?

0 Answers  


What's the latest version of mysql?

0 Answers  


what is the advantage of stored procedures, triggers and indexing in mysql

1 Answers  


How many columns is too many mysql?

0 Answers  


What is the full meaning of mysql?

0 Answers  


How to decrement dates by 1 in mysql?

0 Answers  


Categories