This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
sir, i have made these three tables Create Table title (t_id int Primary key, title varchar(30))
CREATE TABLE Question (q_id int primary key , q_topic varchar(50), message varchar(50), userId varchar(30) foreign key references Biodata, t_id int foreign key references title) CREATE TABLE Question_Reply (sno int , q_id int foreign key references Question, reply varchar(50), userId varchar(30) foreign key references Biodata, date datetime) Now sir here is my query which is i'm trying but no generating no result
kindly study it and give me reply as soon as possible plzzz
Different databases treat type conversions differently, so your problem may be with the q.t_id='1' clause. "t_id" is defined as an int, so you don't need to have the value in quotes. Try q.t_id=1 instead. The only other explanation would be that no rows satisfy the query. But try removing the quotes first.