简体   繁体   中英

SQL..Write a query to match on name and dob from one table to find record in another table

I have two tables with customer demographics. There is no primary key. The only way I have to match up records is with first name, last name, and dob. I've never had to match records without a primary key. How can I write a query to pull records with same lastname, firstname, and dob?

Join on all three columns if the format of data is same in both the tables . Like (Date Format etc ..) or help us by showing some data .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM