How to create a view with data from multiple tables?
Answer / Asha Sharma
To create a view with data from multiple tables in SQL Server, you can use the following example:
```sql
CREATE VIEW your_view AS
SELECT Table1.column1, Table2.column2
FROM Table1
INNER JOIN Table2 ON Table1.common_column = Table2.common_column;
```
| Is This Answer Correct ? | 0 Yes | 0 No |
how to get rank of diffrent student in same table based on newly inserted row in sql server2008
What are the database objects? : SQL Server Architecture
How to create a view and a stored procedure in ms sql server using "create view/procedure" statements?
What do u mean by orphan users, how will u list them in the DB
How you can add messages to the nt event log from within a stored procedure?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
What is a full text index?
how to get max salary with employee number by using one select query and max function ??
What is the difference between a view and a stored procedure?
What are the types of joins in sql?
Sql studio em braces a variety of capabilities, but will I need them all? Is there a simpler product ? : sql server management studio
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)