question_schema
stringlengths
3.21k
3.92k
response
stringclasses
6 values
conversations
listlengths
2
2
Question - Find all adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFind all adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Retrieve all adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nRetrieve all adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Get the list of adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nGet the list of adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Show all adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nShow all adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Fetch all adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFetch all adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - List all adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nList all adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Provide all adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nProvide all adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Find the adolescents with an age of [age]., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFind the adolescents with an age of [age].", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Get all adolescents who have an age of [age]., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nGet all adolescents who have an age of [age].", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Retrieve all records of adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nRetrieve all records of adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Show me the adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nShow me the adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - List adolescents that are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nList adolescents that are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Find adolescents who are exactly [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFind adolescents who are exactly [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Get details of adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nGet details of adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Fetch the adolescents that are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFetch the adolescents that are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Find all records of adolescents aged [age]., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFind all records of adolescents aged [age].", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Show all adolescent details for those who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nShow all adolescent details for those who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Retrieve the list of adolescents who are [age]., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nRetrieve the list of adolescents who are [age].", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Provide all details for adolescents who are [age] years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nProvide all details for adolescents who are [age] years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - List all adolescents who are at the age of [age]., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '[age]';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nList all adolescents who are at the age of [age].", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '[age]';", "role": "assistant" } ]
Question - Find all adolescents who are 14 years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFind all adolescents who are 14 years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - Retrieve data for all adolescents with age 14, DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nRetrieve data for all adolescents with age 14", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - Show details of adolescents whose age is fourteen., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nShow details of adolescents whose age is fourteen.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - List all records of adolescents who are exactly 14 years old., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nList all records of adolescents who are exactly 14 years old.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - Display adolescent records for age equal to fourteen., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nDisplay adolescent records for age equal to fourteen.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - How many adolescents aged 14, DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nHow many adolescents aged 14", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - Find all adols who are 14 years of age., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nFind all adols who are 14 years of age.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - Retrieve adolescent records with an age of 14., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nRetrieve adolescent records with an age of 14.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
Question - Get all adolescent entries where age is fourteen., DB Schema - CREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
SELECT * FROM tbladolreg where regAdolAge = '14';
[ { "content": "Given this database schema:\nCREATE TABLE `tbladolreg` ( `userId` varchar(25) DEFAULT NULL, `AdolID` varchar(10) DEFAULT NULL, `regAdolName` varchar(50) DEFAULT NULL, `regAdolAge` varchar(3) DEFAULT NULL, `regAdolGender` varchar(6) DEFAULT NULL, `regAdolDoB` varchar(15) DEFAULT NULL, `regAdolWeight` varchar(5) DEFAULT NULL, `regAdolHeightType` int DEFAULT NULL, `regAdolHeight` varchar(10) DEFAULT NULL, `regAdolMobile` varchar(10) DEFAULT NULL, `regAdolMobileOf` int DEFAULT NULL, `regAdolFather` varchar(50) DEFAULT NULL, `regAdolFatherDesc` varchar(5) DEFAULT NULL, `regAdolMother` varchar(50) DEFAULT NULL, `regAdolMotherDesc` varchar(5) DEFAULT NULL, `regAdolGuardian` varchar(50) DEFAULT NULL, `regAdolFamilytype` int DEFAULT NULL, `regAdolPregnant` varchar(5) DEFAULT NULL, `regAdolAddress` varchar(100) DEFAULT NULL, `regAdolAreaname` varchar(100) DEFAULT NULL, `regAdolFacilities` int DEFAULT NULL, `regAdolPincode` varchar(10) DEFAULT NULL, `regAdolRelationship` int DEFAULT NULL, `regAdolPartnerName` varchar(50) DEFAULT NULL, `regAdolPartnerOccupa` varchar(50) DEFAULT NULL, `regAdolMarriageType` int DEFAULT NULL, `regAdolGoingtoSchool` varchar(5) DEFAULT NULL, `regAdolNoofChild` int DEFAULT NULL, `regAdolOtherHealthIssues` varchar(50) DEFAULT NULL, `regAdolHealthIssues` varchar(300) DEFAULT NULL, `regAdolLifeStyle` varchar(300) DEFAULT NULL, `regAdolMenstrualPbm` varchar(400) DEFAULT NULL, `regAdolOtherMenspbm` varchar(100) DEFAULT NULL, `regAdolPhysicalActivity` varchar(300) DEFAULT NULL, `regAdolSuggestionGiven` varchar(100) DEFAULT NULL, `regAdolComments` varchar(100) DEFAULT NULL, `LastVisitCount` int DEFAULT NULL, `regAdolAadharNo` varchar(16) DEFAULT NULL, `regAdolisPeriod` varchar(5) DEFAULT NULL, `regAdolAgeatMenstruated` varchar(5) DEFAULT NULL, `regAdolEducation` int DEFAULT NULL, `regUserType` varchar(10) DEFAULT NULL, `transId` int DEFAULT NULL, `RecordCreatedDate` varchar(20) DEFAULT NULL, `RecordUpdatedDate` varchar(20) DEFAULT NULL, `regAdolDeactivateDate` varchar(15) DEFAULT NULL, `regAdolDeactivateReasons` varchar(50) DEFAULT NULL, `regAdolDeactivateReasonOthers` varchar(100) DEFAULT NULL, `regAdolDeactivateComments` varchar(100) DEFAULT NULL, `regAdolImage` longblob, `regAdolCurrGTSStatus` varchar(10) DEFAULT NULL, `regAdolCurrPregStatus` varchar(10) DEFAULT NULL, `regAdolPeriodStartedHv` varchar(10) DEFAULT NULL, `regAdolReferredHV` varchar(10) DEFAULT NULL, `regAdolComplHv` varchar(10) DEFAULT NULL, `regAdolHbHv` varchar(10) DEFAULT NULL, `regAdolRegDate` varchar(15) DEFAULT NULL, `regAdolSchoolNameAtReg` varchar(20) DEFAULT NULL, `regAdolSchoolNameOthersAtReg` varchar(250) DEFAULT NULL, `regAdolSchoolMandalAtReg` varchar(50) DEFAULT NULL, `regAdolSchoolMandalOthersAtReg` varchar(250) DEFAULT NULL, `regAdolCurrSchoolName` varchar(10) DEFAULT NULL, `regAdolCurrSchoolNameOthers` varchar(250) DEFAULT NULL, `regAdolCurrSchoolMandal` varchar(50) DEFAULT NULL, `regAdolCurrSchoolMandalOthers` varchar(250) DEFAULT NULL, `regAdolCurrStudinClass` varchar(10) DEFAULT NULL, `ServerCreatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `ServerUpdatedDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); \n\nAnswer this question:\nGet all adolescent entries where age is fourteen.", "role": "user" }, { "content": "SELECT * FROM tbladolreg where regAdolAge = '14';", "role": "assistant" } ]
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
32
Edit dataset card