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 default password for mysql?
what is the difference between between and in operators in mysql?
What are the functions used to encrypt and decrypt the data present in mysql?
How to include character strings in sql statements?
What is the difference between a database and a table?
How many tables we can create in mysql database?
What is longblob in mysql?
What is data in mysql?
How to show certain selected rows with the value "pcds".
What is the purpose of -> in the mysql terminal?
date funciton
What is blob datatype in mysql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)