python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
SQL: Insert Into Table 1 From Table 2 then Update Table 2 - Performance Increase
I am working to increase the speed and performance for a database process that I have inherited. The basic steps, prior to this process, is a utility uploads about a million or more records into an U...
Chris Donnelly
Votes: 0
Answers: 1
NOT EXISTS Vs. Left Outer Join
I am confused by the results that I am getting via the NOT EXISTS vs. LEFT OUTER JOIN with NULL.
Consider the below 2 queries which produce very different results. Please note that the fkMasterPersonI...
rvphx
Votes: 0
Answers: 1
Can you always use "NOT EXISTS" instead of "Not in"?
I have the Following Schema :
Book(ISBN,Title,Genre)
Published(ISBN,Publishernumber)
The Query : What are the publisher numbers of the publishers that exclusively publish books of the genre “Computer ...
atassi122
Votes: 0
Answers: 1
How to use an UPDATE Query with an INNER JOIN to update fields within a table
I keep getting a run time error on the following SQL statement:
UPDATE tbl_1
INNER JOIN tbl_2 ON tbl_1.PersNo = tbl_2.PersNo
SET tbl_1.Marked = 'N/A'
WHERE NOT EXISTS (SELECT * FROM tbl_2 WHERE tbl...
designspeaks
Votes: 0
Answers: 2