For a perticular database
I need select query
first select query which gives me table_name,Column_name,Primary_key
secound select query which gives me table_name,column_name ,foreign_table_name,foreign_column_name
third select query which gives me table_name,column_name,index_name,index_type