sql query to get name,age,phone,address from tables t1,t2,t3,t4,t5 ..

Ads
 

sql query to get name,age,phone,address from tables t1,t2,t3,t4,t5 ..

this is for single table :

query ="SELECT name , age , pwd , phone , address FROM t1 order by name";

this is for 2 tables :

query ="SELECT t.name , t.age , tt.pwd , tt.phone , t.address FROM t1 t t2 tt where t.age=tt.age order by name";

i want for 12 tables :

i want to fetch name age pwd phone address from 12 tables .... query pl..z

View Answers

Ads









Related Tutorials/Questions & Answers:
sql query to get name,age,phone,address from tables t1,t2,t3,t4,t5 ..
sql query to get name,age,phone,address from tables t1,t2,t3,t4,t5 ..  ... by name"; i want for 12 tables : i want to fetch name age pwd phone address from 12... , address FROM t1 order by name"; this is for 2 tables : query ="SELECT t.name
how to get values for same column name from two different tables in SQL
how to get values for same column name from two different tables in SQL  how to get values for same column name from two different tables in SQL???? column name is emp_id loacated in these two tables company,employee
Advertisements
select result from three tables using sql.
select result from three tables using sql.  I want to get a result from three tables. i dont how to write the sql query. Please help me. "I want to display Name,Username and Product_Name where Id=007" table "register" Name
create the SQL tables from an XML schema
create the SQL tables from an XML schema  I'm using Eclipse, Please let me know if anyone developped an application that would automatically create the SQL tables from an XML schema
SQL All Tables
SQL All Tables       SQL All Tables is used to show all the tables in database. Understand with Example The Tutorial illustrate an example from 'SQL All Tables'. To understand
How to get day from date in SQL?
How to get day from date in SQL?  Hi, How to get day from date in SQL? For your information I am working on the MySQL database. Thanks   Hi, You can use the following queries to get the data: select date_format(now
Join the two tables in sql
Join the two tables in sql  How to join the two tables in SQL ..and return the value from common column in SQL Database
sql query
sql query  two tables are emp,loc write a query to display all the emp information whose locname not equal to bangalore
Sql Query
Sql Query  Is this query work in Db2 or not ? Select * from FORUM LIMIT 2
Sql Query
Sql Query  Is this query work in Db2 or not ? Select * from FORUM LIMIT 2
Need Solution to get vaues from sql database in java
Need Solution to get vaues from sql database in java  hi I have... need to get values from sql database for values in the blank field(" "). how do i... file. please provide me solution to get values for xml tags from database
Finding MAX value from emp_id column using SQL query?
Finding MAX value from emp_id column using SQL query?  I need to select maximum of the Emp_id values from SQL server 2005 table.I was using... query used:- select MAX(emp_id) from table_name
SQL Query
SQL Query  Selecting the third highest salary of Employee without using any subquery?   Here is a query: SELECT salary FROM employee ORDER BY salary DESC LIMIT 2,1
Sql Query
Sql Query  Hi M Navjeet Ghai I want to know How to Show A name(Like Navjeet Ghai And Manpreet Singh Sodhi) of employees from a employee table as N.Ghai & M.S.Sodhi by using sql query
SQL INNER Joins
; The JOIN keyword is used in SQL statement to query data from two..._name=table_name2.column_name Use INNER JOIN in SQL Query.... Understand with Example The Tutorial illustrate an example from SQL INNER
How to get the most recent data from the sql database
How to get the most recent data from the sql database  Hi, just wanted to show the most recent row from the database table...in my web page. for example if i have four records in the table that was added on different different
SQL query
SQL query  I need to combine two tables in order to get the values. As an example we have three tables having namely usertable,job table... this how can get the employee name having access to the jobs. I need to have
sql query
sql query  hi friend, Im doing a project,in that a main id... numbers of sids.i want to delete the sid based on the mid.for that i need sql query plz help to me
sql query
sql query  hi friend, Im doing a project,in that a main id... numbers of sids.i want to delete the sid based on the mid.for that i need sql query plz help to me
sql query
sql query  hi friend, Im doing a project,in that a main id... numbers of sids.i want to delete the sid based on the mid.for that i need sql query plz help to me
SQL QUERY
SQL QUERY  am a having a table 'PROGRAMMER' with columns... C pascal Bhanu Sql... Pascal Sql Mahesh DBASE Cobol
merge tables in sql using union
merge tables in sql using union  How to create a new table in database by merging two tables using union function in SQL?   REATE TABLE new_table SELECT * FROM table1 UNION SELECT * FROM table2;   
sql query
sql query  SQL QUERY BROWSER declare @cout00 int declare @cout01 int... select @cout00=count(*) from aws.dpscomp where ra='0' and RAcal='0' print @cout00 select @cout01=count(*) from aws.dpscomp where ra='0' and RAcal!='0' print
SQL Union
SQL Union       SQL Union is used to combine the query of two or more Select Statement... tables. Understand with Example The Tutorial illustrate an example from
upgrading sql query join
upgrading sql query join  upgrading sql query join
mysql select from multiple tables
mysql select from multiple tables   how can i select the date field from multiple tables in mysql?   "UNION" can be used to select data from multiple tables in my sql... for example (SELECT * from name where `name
Need solution to get values for XML namespace tags from SQL database in Java
Need solution to get values for XML namespace tags from SQL database in Java  hi I have written a code in java to get these xml tags < company comp:loc=" "/> now i need to get values from sql database for values
optimize sql query
optimize sql query  How to optimize sql query in mysql? Thanks
SQL date query
SQL date query  how to get ( 15 march 2011) and (15/03/2011) output using SQL   Use the following queries to get the data from database...') FROM patient; where patient is our table name and dob is a field of date
Mysql List Tables
;  The Tutorial illustrate an example from 'Mysql  List Tables'. To understand this example we use show tables query that return the list of tables in database name 'Table_in_girish'. The Syntax used to display the list
Hibernate SQL Query/Native Query
This tutorial describes Hibernate SQL Query, which is also known as Native Query

Ads