Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

RE: How do I add "Date of Birth" to the below query so that I can pull the Date of Birth when I run the query?

$
0
0

if there is a field containing the date of birth in the table ccu_application_info then just add a comma, space and that field name (and optionally a space and an alias name like DOB, DateOfBirth or whatever you want the colmn header name to look like) after the last field in your select clause (the last line above the word from).  If applicant demographics (like address, phone, and date of birth) are in a separtate table and all you have is an applicant ID inthe ccu_application_info table then you will need a join statement in the from clause to join to that demographics table on the applicant ID (should be a field in both tables) i.e.

from bank_owner.ccu_application_info

join bank_owner.applicant_demographics

on bank_owner.ccu_application_info.applicantID = bank_owner.applicant_demographics.applicantID.

where ...


Viewing all articles
Browse latest Browse all 2544

Latest Images

Trending Articles



Latest Images