About 75,200 results
Open links in new tab
  1. How can I do an UPDATE statement with JOIN in SQL Server?

    2994 Syntax strictly depends on which SQL DBMS you're using. Here are some ways to do it in ANSI/ISO (aka should work on any SQL DBMS), MySQL, SQL Server, and Oracle.

  2. SQL INNER JOIN syntax - Stack Overflow

    Mar 2, 2012 · Whilst the JOIN syntax is really syntactic sugar for inner joins it's strength lies with outer joins where the old * syntax can produce situations where it is impossible to …

  3. sql - Left Outer Join using + sign in Oracle 11g - Stack Overflow

    204 TableA LEFT OUTER JOIN TableB is equivalent to TableB RIGHT OUTER JOIN Table A. In Oracle, (+) denotes the "optional" table in the JOIN. So in your first query, it's a P LEFT …

  4. How to do an INNER JOIN on multiple columns - Stack Overflow

    SELECT * FROM flights INNER JOIN airports ON flights.fairport = airports.code AND flights.tairport = airports.code WHERE (airports.code = 'departureCode' OR airports.city= …

  5. sql - What is the difference between JOIN and INNER JOIN

    SELECT * FROM table INNER JOIN otherTable ON table.ID = otherTable.FK Is there any difference between the statements in performance or otherwise? Does it differ between …

  6. SQL JOIN where to place the WHERE condition? - Stack Overflow

    27 If a filter enters in a JOIN condition functionally (i.e. it is an actual join condition, not just a filter), it must appear in the ON clause of that join. Worth noting: If you place it in the WHERE …

  7. What is a SQL JOIN, and what are the different types?

    What is SQL JOIN ? SQL JOIN is a method to retrieve data from two or more database tables. What are the different SQL JOIN s ? There are a total of five JOIN s. They are :

  8. sql - Oracle " (+)" Operator - Stack Overflow

    Oct 26, 2010 · Oracle recommends that you use the FROM clause OUTER JOIN syntax rather than the Oracle join operator. Outer join queries that use the Oracle join operator (+) are …

  9. sql - What's the difference between comma separated joins and …

    The comma operator is equivalent to an [INNER] JOIN operator. The comma is the older style join operator. The JOIN keyword was added later, and is favored because it also allows for …

  10. Why isn't SQL ANSI-92 standard better adopted over ANSI-89?

    One primary advantage of the SQL-92 join notation is that there is a standard and relatively sane way of writing LEFT OUTER JOIN and variants. Each DBMS had its own variant syntax …