473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Easy join with equal, star-equal, equal star (like MSSQL)

Hi folks,

I'm new with MySQL and I'm really impressed by this database engine.
While waiting for Stored Procedures :) (ver 5: anyone can say when
will be, approximately, released?), due to the fact that I'm coming
from MSSQL world, can anyone tell me if there's a way to perform join
without the classic SQL statement (inner join on, right join on, etc)
but using the WHERE clause, with equal =(inner join), star-equal *=
(left join) and equal-star =* (right join)?

Example follows:

SELECT
A.FIELD_1, B.FIELD_2, C.FIELD_3
FROM
TABLE_1 A, TABLE_2 B, TABLE_3 C
/* Here i go with joins using equals */
WHERE
A.KEYFIELD = B.A_KEYFIELD
AND A.KEYFIELD = C.A_KEYFIELD

I found this way on MSSQL very powerful and I'd like to produce the
same clean-code here with MySQL..

TIA, tK
Jul 20 '05 #1
0 5013

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Tino Lange | last post by:
Hi! I identified a bottleneck in my programs. I just want to "encrypt" data by easy xoring. Ok - that's no encryption at all - I know. But it's hardly readable - and that's enough :-) Just...
33
by: Jim Hill | last post by:
I've done some Googling around on this and it seems like creating a here document is a bit tricky with Python. Trivial via triple-quoted strings if there's no need for variable interpolation but...
3
by: Andy Visniewski | last post by:
Should be easy, but I've been trying to figure this out for about half an hour with no luck. There is a table 'Cybex' which has all the Cybex products we sell, and a table 'Datasheets' which...
3
by: PipHans | last post by:
Hi, Plz, I need some info (SQL2000) :) A stored procedure is like this: "Select table1.id, table1.txt, (select table2.nr from table2 where table2.fk_table1=table1.id) as nr where...
1
by: hamilton4003 | last post by:
I have two tables (tblRequest and tblDev) whose items have many-to-many relationships with each other. I have set things up like this (simplified): Table 1 fields: tblRequest.PrimaryKey ...
5
by: r2_r2 | last post by:
I am very much a beginner to python. I have been working on writing a very simple program and cannot get it and was hoping someone could help me out. Basically i need to write a code to print a...
7
by: Bastard_Toadflax | last post by:
I'm making a database for a work project, and am having some difficulties (note: I am at the novice end of the MS Access users spectrum). Basically, what I have to do is make a list of managers in...
2
by: e_hobsbawm | last post by:
I have two tables table1: id state ----------------- 10 washington 11 oregon 12 california table2:
4
by: nephish | last post by:
i have seen the join method before, mostly in this group and i want to get it a little better. if i have a list x = how can i make it print as a single string? or make a single string out...
0
by: NoncentzTheGreat | last post by:
Hello All, This is me first Post ..Yesssss I am new to sql so I hope I explain this correctly: I used a PATINDEX statement to create a field called UPS_Shipper in my view and a field called...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.