September 07, 2008, 13:54:34
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Add your links to our directory. Click
here
to add your links.
Home
Forum
Help
Search
Directory
Calendar
Login
Register
News
Add your links to our directory. Click
here
to add your links.
IT Resources
Recover Deleted Files
Php Hosting
Hot Wallpapers
Free Articles
Mousepad
Cheap Hosting
PDF to Doc Converter
Internet Eraser
Linux web hosting
DoFollow Sites
Movie Reviews
Webmaster's Talks !
>
Forum
>
Programming
>
Databases
>
New in sql commands
Pages: [
1
]
« previous
next »
Print
Author
Topic:
New in sql commands
(Read 914 times)
0 Members and 1 Guest are viewing this topic.
ToBad
Jr. Member
Points: 0
Offline
Posts: 20
New in sql commands
«
on:
June 07, 2006, 13:22:24 »
Hi,
I'm quite new in database and I need a tip/advice: How can I do a select on 2 databasese in the same time ?
Logged
Expect the worst, it's the least you can do.
xulescu
Full Member
Points: 8
Offline
Posts: 245
Re: New in sql commands
«
Reply #1 on:
June 07, 2006, 13:27:24 »
on 2 databases or 2 tables ?
from 2 databases and 2 tables is quite simple:
select * from db1.tb1 left join db2.tb2 on db1.tb1.id=db2.tb2.id
Regards
Logged
Tracking Deleted Domains, Link Popularity and more ...
sintex
Jr. Member
Points: 7
Offline
Posts: 96
Re: New in sql commands
«
Reply #2 on:
June 08, 2006, 15:56:35 »
A more simple ex is:
select d1.*,d2.* from db1.t1 as d1 , db2.t2 as d2
Logged
ToBad
Jr. Member
Points: 0
Offline
Posts: 20
Re: New in sql commands
«
Reply #3 on:
June 08, 2006, 16:04:01 »
Thanks guy's
Logged
Expect the worst, it's the least you can do.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Web Design and Graphics
-----------------------------
=> General
=> Web Design Discussion
===> Adobe Photoshop, Corel PhotoPaint or other Image editing software
===> Dreamweaver, FrontPage or other WYSIWYG software
=> Web Design Reviews
=> Design Contest
-----------------------------
Programming
-----------------------------
=> Databases
=> PHP
=> ASP
=> Javascript
=> Java
=> General Coding
===> Perl
===> .NET
-----------------------------
Search Engine
-----------------------------
=> Google
=> Yahoo
=> MSN
=> Other Search Engines
=> Web Directories
===> SMF Directory
-----------------------------
Domain Names
-----------------------------
=> Domain Name Discussion
=> Domain Appraisals
=> Expired Domains
-----------------------------
Server Related
-----------------------------
=> Forum/CMS Related
=> Apache/IIS
=> Security
=> Linux
===> General Questions
===> Installations
===> Desktop & Multimedia
===> System configurations problems
===> Kernel things
-----------------------------
The Webmasters Talks !
-----------------------------
=> General Discussion
===> Fun
=> Tools
===> Link Popularity
===> Google Datacenter Query
===> Google Backlinks Checker
===> Google Page Rank Checker
===> Html Validation
===> Alexa Rank Checker
===> SEO 4 SMF
=====> Showcase
=====> Joomla
=====> Bugs
=====> Features
=> New Member Introductions
=> Suggestions & Feedback
=> News and Announcements
Loading...