how to know the tables in database having foreign key?
Answers were Sorted based on User's Feedback
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 |
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 |
What is dblink?
What is select query in mysql?
Can't connect mysql server on localhost?
Can I install mysql on mac?
What is an index? How can an index be declared in mysql?
What is myisamchk?
What is delimiter in mysql?
How to dump one database for backup.
What is the difference between a database and a table?
How do you start MySQL on Linux?
Can you tell the difference between $message and $$message?
What is max_used_connections in mysql?