I know this should be a mysql question but it's to do with this thread. The sql above uses a nested select in the inner join - does this work with all mysql versions? I'm forced to be using 3.23.56 on my web server
r937,
OK thanks that looks like it complex enough :) Would you mind explaining it a little so that I know the reason behind it? I just hate to modify something without knowing how it's meant to work.
My tables are little more complex but the example below explains my problem in more simple terms.
Table1
test_id
test_name
Table2
table2_id
test_id
test_questionyes1
test_questionyes2
I would like to select the distinct test_id's where all the rows in Table2 have questionyes1 set to 1 and...
That didn't seem to work but thanks for responding. My old conn string was:
Server=ROBLAPTOP\\SQLEXPRESS;Database=DatabaseName1;Trusted_Connection=True;
When i was using just the DatabaseName1 databases. It's currently:
Server=ROBLAPTOP\\SQLEXPRESS;Trusted_Connection=True;
But this does not...
I have an SQL server instance and have two databases (this is not avoidable due to the client) I want to be able to use one connection string to access both and then in the queries use:
databasename.dbo.tablename
to access the tables. What connection string will work and do I need to change...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.