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 ..

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









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
sql query to get data from two tables
sql query to get data from two tables  how can i get the data from two different tables?   Hi Friend, Please visit the following link:ADS_TO_REPLACE_1 JOIN Query Simple Query ThanksADS_TO_REPLACE_2
Advertisements
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
Sql query from oracle
Sql query from oracle  Please help me that I want to get the table names form the existing database who does it having eid coloumn plz provide me query in oracle database
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
Data fetch from multiple SQL tables - Hibernate
Data fetch from multiple SQL tables   I am in the process of writing my first hibernate application. I have a sql query that fetches data from... access code into Hibernate code. The tables in SQL are not related using foreign
The query used to display all tables names in SQL Server.
The query used to display all tables names in SQL Server.  What is the query used to display all tables names in SQL Server (Query analyzer
Query for gathering info from 3 tables with condition depended on 4th table
Query for gathering info from 3 tables with condition depended on 4th table  I have 4 tables, 1 User profile (PK usrid), 2 Friend list(pk ugid), 3... a query in which I will get a data of people, there updates, and comments on updates
SQL All Tables
SQL All Tables       SQL All Tables is used to show all the tables in database. Understand with ExampleADS_TO_REPLACE_1 The Tutorial illustrate an example from 'SQL All Tables
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
PL/SQL tables
PL/SQL tables   hii, Describe the use of PL/SQL tables ?   hello,ADS_TO_REPLACE_1 PL/SQL tables are scalar arrays that can be referenced by a binary integer. They can be used to hold values for use in later queries
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
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  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
SQL INNER Joins
; The JOIN keyword is used in SQL statement to query data from two...=table_name2.column_name Use INNER JOIN in SQL Query In this example, we... from SQL INNER Joins. The Example helps you to know the use of SQL INNER
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 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
Get the list of tables in Sybase
Get the list of tables in Sybase   hello, How to get the list of tables in Sybase?   hii,ADS_TO_REPLACE_1 Select name from sysobjects where type="...." it will give You list according to where clause
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
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  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
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
SQL QUERY
SQL QUERY  am a having a table 'PROGRAMMER' with columns... C pascal Bhanu Sql... Pascal Sql Mahesh DBASE Cobol
Describe the use of PL/SQL tables
Describe the use of PL/SQL tables  Describe the use of PL/SQL tables   Hi, PL/SQL tables are scalar arrays that can be referenced by a binary integer. They can be used to hold values for use in later queries
SQL Query - SQL
SQL Query  Hi I would like to know how to create a SQL query which would copy values from a field which contains multiple values to an existing... | +-----+-----------+-------------+ Query: INSERT INTO table2 (fruit1, fruit2, fruit3
SQL Union
SQL Union       SQL Union is used to combine the query of two or more Select Statement... an example from 'SQL Union'. To understand and grasp the example we create
query - SQL
query  hi sir i have 2 tables,one is user_details...,password.This is sign up process. when i enter this id,name and password in employee... tell me how to write the query in database but not jsp code. thank u
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
upgrading sql query join
upgrading sql query join  upgrading sql query join
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
optimize sql query
optimize sql query  How to optimize sql query in mysql? Thanks
sql query - JDBC
sql query  I need a SQL query to add data into database
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
sql query  hi sir,i have a month and year numbers,when i am enter a month and year in sql query then i want results for 1st day of month to last day...(); ResultSet rs=st.executeQuery("select * from employee where joiningMonth='"+mon
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
SQL query - SQL
SQL query  hi sir/Madam i am using MS Access where i have table like Fees_Struc: Amount (INT) Due_Date (Date) Fees_Pay: Paid(INT...,Paid from Fees_Struc where id=1"); String due=""; int paid=0; if(rs.next
Named ? SQL query in hibernate
Named ? SQL query in hibernate  What is Named SQL query in hibernate...; </property> </class> <query name... putting the sql queries to various places in between code. sample.hbm.xmlADS
Hibernate SQL Query/Native Query
This tutorial describes Hibernate SQL Query, which is also known as Native Query
Doubt In Sql query
Doubt In Sql query  Hi Have a glance @ http://img98.imageshack.us..._note records.ADS_TO_REPLACE_1 we can get the latest country_notes by using createdt. I have tries with this query but it is returning redundancy records
SQL QUERY - JDBC
SQL QUERY  I m running a query using apache tomcat the sql query is on adding an employee in the database whenever i click on add after inserting the values i am getting a java.lang.nullpointer exception
display sql query in hibernate
display sql query in hibernate  If you want to see the Hibernate generated SQL statements on console, what should we do
SQL Server row comparison using two tables
SQL Server row comparison using two tables  insertion process are completed in table1.string comparison using table2 to table1 if any changes in these tables and then upadated
Purge Data from Mysql tables
Purge Data from Mysql tables  Hi, i have to write a mysql procedure to purge data from tables. but written procedure clear entire tables data...,reservationid FROM movedata_table; DECLARE CONTINUE HANDLER FOR NOT FOUND SET
Update SQL Query Example
Update SQL Query Example  Hi, I am beginner in SQL (MySQL) and trying to learn Update SQL Query with Example code. Can anyone explain me the SQL Update query with an example code? Thanks   Hi, A simple example
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

Ads