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 |
Can foreign key have duplicate values?
How to do login in mysql with unix shell.
What is relational database in mysql?
if we want to load data from a text file into a mysql table, but the columns in table are 1st: code(int) and 2nd: city(varchar), but in text file the format is 1st cityname and then code separeted by delimeters. how to load?
Explain the difference between mysql and mysqli interfaces in PHP?
What are the differences between char and nchar?
How do you restart mysql?
What is save point in mysql?
What are the purposes of using enum and set data types?
how to display nth highest salary from a table in a mysql query? : Mysql dba
What is delimiter $$?
Is number a datatype in mysql?