Viewing 7 posts - 16 through 22 (of 22 total)
adding the table for time column i want only day hour and minutes how to declare that in sql table.
April 19, 2014 at 5:01 am
table 1@sampledata
id=1,age=18,gender=male
table2@sample data
id=1,maturnity=child,gender=male
id=2,maturnity=adult,gender=female
id=2,maturnity=child,gender=female
id=2,maturnity=adult,gender=male
this is the sample data
while getting the data we will compare
where table2.gender=table1.gender
and table1.id=1
in the same way i should compare age also
April 16, 2014 at 12:42 am
it is correct but while getting the data from data base according to the id from the first table if the age is less than 18 we should get child...
April 16, 2014 at 12:26 am
please anyone help me yar how to declare a variable for comparing ages...:-)
April 15, 2014 at 11:45 pm
Viewing 7 posts - 16 through 22 (of 22 total)