Click here to Skip to main content
15,886,110 members
Home / Discussions / Database
   

Database

 
AnswerRe: INSERT QUERY NOT WORKING Pin
Ralf.Bue26-Dec-10 5:33
Ralf.Bue26-Dec-10 5:33 
AnswerRe: INSERT QUERY NOT WORKING Pin
Hiren solanki26-Dec-10 19:09
Hiren solanki26-Dec-10 19:09 
GeneralRe: INSERT QUERY NOT WORKING Pin
Luc Pattyn26-Dec-10 22:49
sitebuilderLuc Pattyn26-Dec-10 22:49 
GeneralRe: INSERT QUERY NOT WORKING Pin
Pete O'Hanlon27-Dec-10 0:17
mvePete O'Hanlon27-Dec-10 0:17 
AnswerRe: INSERT QUERY NOT WORKING Pin
Bernhard Hiller28-Dec-10 2:50
Bernhard Hiller28-Dec-10 2:50 
AnswerRe: INSERT QUERY NOT WORKING Pin
Member 1481254724-Apr-20 11:43
Member 1481254724-Apr-20 11:43 
Questionjoining two tables Pin
Erdinc2723-Dec-10 22:34
Erdinc2723-Dec-10 22:34 
AnswerRe: joining two tables Pin
Estys23-Dec-10 22:58
Estys23-Dec-10 22:58 
Sure you can, for instance :

select firms.nmbr as nmbr, firms.name as name, "firm" as type from firms
UNION
select people.id as nmbr, people.surname as name, "people" as type from people;


The UNION keyword joins the two result sets.

Cheers
I don't like my signature at all

GeneralRe: joining two tables Pin
Erdinc2723-Dec-10 23:11
Erdinc2723-Dec-10 23:11 
GeneralRe: joining two tables Pin
Estys23-Dec-10 23:26
Estys23-Dec-10 23:26 
GeneralRe: joining two tables Pin
Erdinc2723-Dec-10 23:51
Erdinc2723-Dec-10 23:51 
GeneralRe: joining two tables Pin
Estys24-Dec-10 0:12
Estys24-Dec-10 0:12 
GeneralRe: joining two tables Pin
Erdinc2724-Dec-10 0:35
Erdinc2724-Dec-10 0:35 
Questionwhere are stored procedures stored. Pin
khurram_shahzad23-Dec-10 20:34
khurram_shahzad23-Dec-10 20:34 
AnswerRe: where are stored procedures stored. Pin
Hiren solanki24-Dec-10 0:38
Hiren solanki24-Dec-10 0:38 
QuestionCreating view in Access Pin
jadughar23-Dec-10 2:12
jadughar23-Dec-10 2:12 
AnswerRe: Creating view in Access Pin
Hiren solanki23-Dec-10 3:04
Hiren solanki23-Dec-10 3:04 
GeneralRe: Creating view in Access Pin
jadughar23-Dec-10 4:58
jadughar23-Dec-10 4:58 
QuestionRecursive query "SQL Server 2000" Pin
peropata22-Dec-10 23:37
peropata22-Dec-10 23:37 
AnswerRe: Recursive query "SQL Server 2000" Pin
Hiren solanki23-Dec-10 0:47
Hiren solanki23-Dec-10 0:47 
GeneralRe: Recursive query "SQL Server 2000" Pin
jschell23-Dec-10 7:26
jschell23-Dec-10 7:26 
AnswerRe: Recursive query "SQL Server 2000" Pin
PIEBALDconsult23-Dec-10 4:49
mvePIEBALDconsult23-Dec-10 4:49 
AnswerRe: Recursive query "SQL Server 2000" Pin
jschell23-Dec-10 7:38
jschell23-Dec-10 7:38 
QuestionSOLVED - How to concatenate column values of type text during SELECT...FROM...GROUP BY? [modified] Pin
liquid_22-Dec-10 2:34
liquid_22-Dec-10 2:34 
AnswerRe: How to concatenate column values of type text during SELECT...FROM...GROUP BY? Pin
Hiren solanki22-Dec-10 3:23
Hiren solanki22-Dec-10 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.