Hi SQL-Community
I need once more your help, I have a tricky problem with my animal-db.
I have a table with animals and a table with animal-pics. I have a third
table. In this table you can see, which pic belongs to which animal:
CREATE TABLE animal (
id int(11) NOT NULL auto_increment,
Hi SQL-Users
Is it possible to select only every second record from a record set?
I should select the record-number 1, 3, 5, 7, 9, ... or record-number 2, 4,
6, 8, ...
Can this be done with LIMIT?
Thank you!
Greetings, Martin
should have only one result, the added value from
all 3 tables...
How can I do this within MySQL? Are there variables I could use within the
query? Other possibilities?
Thank you for your help!
Kind Regards,
Martin Rytz
this be done within the select-statement?
Thank you in advance,
Martin Rytz
Hi mysql-community!
I have a problem with mysql 3.23.49a:
If I try to use the statement 'LOAD DATA LOCAL INFILE
'/storage/hosting/uxclients/www.xxx.ch/transfer/golfclub.csv' INTO TABLE
test'
mysql replys: 'The used command is not allowed with this MySQL version'.
Why this error-message?
How can I count the rows over this 3 tables?
Thank you in advance!
Martin Rytz
you in advance!
Martin Rytz
in advance for your help.
Yours
Martin Rytz
DBA from Switzerland
Hi all
I have a problem with slow update queries like these (5 examples):
update url_cat set domain = '01net' where left( domain, instr( domain, '.' )
-1 ) = '01net';
update url_cat set domain = '1-meta' where left( domain, instr( domain, '.'
) -1 ) = '1-meta';
update url_cat set domain =