You only need one INSERT:
INSERT INTO destinationTable( name, age, sex, city, id, number, nationality)
SELECT name, age, sex, city, s1.id, number, s3.nationality
FROM sourceTable1 s1
INNER JOIN sourceTable2 s2 ON s2.Id = s1.Id
INNER JOIN sourceTable3 s3 ON s3.Id = s1.Id
More Related Contents:
- How to calculate age (in years) based on Date of Birth and getDate()
- CROSS JOIN vs INNER JOIN in SQL
- SQL Server 2012 column identity increment jumping from 6 to 1000+ on 7th entry [duplicate]
- INNER JOIN vs LEFT JOIN performance in SQL Server
- Limit on the WHERE col IN (…) condition
- Get day of week in SQL Server 2005/2008
- Getting result of dynamic SQL into a variable for sql-server
- How to get difference between two rows for a column field?
- Simple Query to Grab Max Value for each ID
- SQL Server: Extract Table Meta-Data (description, fields and their data types)
- SQL Server 2008: how do I grant privileges to a username?
- SQL Server SELECT into existing table
- Insert Into… Merge… Select (SQL Server)
- The parameterized query expects the parameter which was not supplied
- SQL Server: drop table cascade equivalent?
- How to insert a blob into a database using sql server management studio
- SQL Server converting varbinary to string
- Incorrect syntax near ”
- How do I prevent a database trigger from recursing?
- Execution sequence of Group By, Having and Where clause in SQL Server?
- SQL Server Operating system error 5: “5(Access is denied.)”
- How Can I Sort A ‘Version Number’ Column Generically Using a SQL Server Query
- Aggregate function in an SQL update query?
- UNION the results of multiple stored procedures
- How to pass a temp table as a parameter into a separate stored procedure
- Executing SQL Server Agent Job from a stored procedure and returning job result
- Select statement to return parent and infinite children
- SQL Server Query time out depending on Where Clause
- Compare dates in T-SQL, ignoring the time part
- Should I use the CASCADE DELETE rule? [duplicate]