Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: nickcarraway

I checked out when 3 or 4 guys asked me how I could produce a query, based upon part no. that had 2 tables which had, a master file table mind you, which had different attributes of the same component. Is that an inner our outer table join?


7 posted on 10/07/2025 5:36:09 PM PDT by kawhill ("I'm going to miss your stories, Robert. You have your own ones now.")
[ Post Reply | Private Reply | To 1 | View Replies ]


To: kawhill

oh hai there, Little Bobby Tables :)


8 posted on 10/07/2025 5:42:36 PM PDT by HonkyTonkMan ( )
[ Post Reply | Private Reply | To 7 | View Replies ]

To: kawhill
When I was recruited out of college, the person doing the campus interview asked me to write a program to do matrix multiplication. I asked him if he wanted it FORTRAN, PL/1, or COBOL.

At work many (many) years ago (ca. Oracle 6), I got into an argument with a DBA who was looking at my SQL code. I coded a correlated subquery for a table that contained values that I wanted to exclude from my set. I had a "not in (select... from a.table 1...) and he said you don't us NOT in a subselect. I said of course not, but this is not a subselect, it's a correlated subquery and NOT is just fine.

He didn't get it. He refused to believe me that NOT was okay.

Back then, nobody was using correlated subqueries because it was too complicated for the average programmer to understand, but the explains were very efficient. I woulld nest them two or three deep, because they're great at index retrievals without returning row data. The system I built was eventually sold to Price Waterhouse by the business side of the project, and years later I saw correlated subqueries everywhere in their code.

-PJ

21 posted on 10/07/2025 9:40:11 PM PDT by Political Junkie Too ( * LAAP = Left-wing Activist Agitprop Press (formerly known as the MSM))
[ Post Reply | Private Reply | To 7 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson