Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

assighn table id  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


can i assign id for each table in mysql database???
if assign , explain it..
 
Ranch Hand
Posts: 384
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes buddy you can ...

just try like this ... while creating a query ... e.g.

String query = "Select * from Titles T, Names N where T.name = N.name";

I hope this'll work
 
mkabdul kadermk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Lalit Mehra wrote:yes buddy you can ...

just try like this ... while creating a query ... e.g.

String query = "Select * from Titles T, Names N where T.name = N.name";

I hope this'll work



thanks for reply

i cant understand this one..hw assign unique id for table...

that id returns table name...

hw can i do it??
 
mkabdul kadermk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Lalit Mehra wrote:yes buddy you can ...

just try like this ... while creating a query ... e.g.

String query = "Select * from Titles T, Names N where T.name = N.name";

I hope this'll work



thanks for reply

i cant understand this one..

hw assign unique id for table...

how do i set id for each table in database??

that id is used to find that table name...

hw can i do it??

please reply me..

thank you...
 
Bartender
Posts: 2633
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do check your private messages. There is a message for you regarding an administrative matter.
And please be patient.
 
Are we home yet? Wait, did we forget the tiny ad?
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!