← prev | next →
iDoNotHaveAName 2020-01-10 00:24:14
But it doesn’t work
iDoNotHaveAName 2020-01-10 00:24:18
Can you tell me why?
iDoNotHaveAName 2020-01-10 00:24:57
But if I do
SELECT * FROM (a NATURAL JOIN b) AS LIST LEFT JOIN C
iDoNotHaveAName 2020-01-10 00:25:00
It works
iDoNotHaveAName 2020-01-10 00:25:27
I forgot to insert the “,ON” clausle in the text but I’ve texted it into the DB
MasterZiv 2020-01-10 00:26:26
iDoNotHaveAName 2020-01-10 00:24:10
Hi guys I have
SELECT * FROM (a NATURAL JOIN b) LEFT JOIN c AS LIST
You have lost the join condition, ON phrase
iDoNotHaveAName 2020-01-10 00:26:44
Yes yes I forgot to inser it into the message
iDoNotHaveAName 2020-01-10 00:26:51
But I’ve inserted it into the DB
MasterZiv 2020-01-10 00:27:40
iDoNotHaveAName 2020-01-10 00:24:57
But if I do
SELECT * FROM (a NATURAL JOIN b) AS LIST LEFT JOIN C
Probably this is because a subquery must have an alias
MasterZiv 2020-01-10 00:28:32
iDoNotHaveAName 2020-01-10 00:24:14
But it doesn’t work
When you ask for help, show your error messages.
iDoNotHaveAName 2020-01-10 00:28:44
sorry for italian language
MasterZiv 2020-01-10 00:28:50
Don’t send photos
iDoNotHaveAName 2020-01-10 00:29:21
SELECT * FROM ((Luogo NATURAL JOIN Indirizzo) LEFT JOIN Recensione ON Luogo.ID = Recensione.Luogo_ID) AS LIST WHERE TipoLuogo=’Alloggio’ AND (Lista.Stato=’na’ OR Lista.Regione=’na’ OR Lista.Provincia=’na’ OR Lista.città=’na’);
iDoNotHaveAName 2020-01-10 00:29:26
this is the query
iDoNotHaveAName 2020-01-10 00:29:33
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AS LIST WHERE TipoLuogo=’Alloggio’ AND (Lista.Stato=’na’ OR Lista.Regione=’na’ O’ at line 1
iDoNotHaveAName 2020-01-10 00:29:36
this the error
iDoNotHaveAName 2020-01-10 00:29:45
sorry for Italian text and for the photo I sent
MasterZiv 2020-01-10 00:30:51
iDoNotHaveAName 2020-01-10 00:29:21
SELECT * FROM ((Luogo NATURAL JOIN Indirizzo) LEFT JOIN Recensione ON Luogo.ID = Recensione.Luogo_ID) AS LIST WHERE TipoLuogo=’Alloggio’ AND (Lista.Stato=’na’ OR Lista.Regione=’na’ OR Lista.Provincia=’na’ OR Lista.città=’na’);
Remove all ( and ), they are not needed
iDoNotHaveAName 2020-01-10 00:31:36
thank you! But it still doesn’t work
MasterZiv 2020-01-10 00:32:16
iDoNotHaveAName 2020-01-10 00:29:21
SELECT * FROM ((Luogo NATURAL JOIN Indirizzo) LEFT JOIN Recensione ON Luogo.ID = Recensione.Luogo_ID) AS LIST WHERE TipoLuogo=’Alloggio’ AND (Lista.Stato=’na’ OR Lista.Regione=’na’ OR Lista.Provincia=’na’ OR Lista.città=’na’);
What is “lista” ?
iDoNotHaveAName 2020-01-10 00:32:32
An alias which should represent the table I’m trying to get
iDoNotHaveAName 2020-01-10 00:32:57
Should I translate the text? Maybe you can get better
MasterZiv 2020-01-10 00:33:10
iDoNotHaveAName 2020-01-10 00:32:32
An alias which should represent the table I’m trying to get
You don’t have such an alias, do you?
MasterZiv 2020-01-10 00:33:34
iDoNotHaveAName 2020-01-10 00:32:57
Should I translate the text? Maybe you can get better
No, doesn’t matter
iDoNotHaveAName 2020-01-10 00:33:43
I don’t, but I’m trying to use it, I don’t know how to explain ahah
iDoNotHaveAName 2020-01-10 00:34:00
Like
Select * from mytable AS ALIAS;
iDoNotHaveAName 2020-01-10 00:34:22
I don’t want to disturb you btw
MasterZiv 2020-01-10 00:35:54
SELECT *
FROM Luogo
NATURAL JOIN Indirizzo
LEFT JOIN Recensione AS LIST ON Luogo.ID = list .Luogo_ID WHERE TipoLuogo=’Alloggio’ AND (Lista.Stato=’na’ OR Lista.Regione=’na’ OR Lista.Provincia=’na’ OR Lista.città=’na’);
MasterZiv 2020-01-10 00:36:45
iDoNotHaveAName 2020-01-10 00:33:43
I don’t, but I’m trying to use it, I don’t know how to explain ahah
You don’t have a table named ‘lista’ in your query
iDoNotHaveAName 2020-01-10 00:37:08
Thank you you also used italian omg gonna try
iDoNotHaveAName 2020-01-10 00:42:01
It still doesn’t work and I don’t know why (I wanted to create an alias for the entire table I had) but I’ve resolved just by deleting the alias name and using standard table names
MasterZiv 2020-01-10 00:49:07
iDoNotHaveAName 2020-01-10 00:42:01
It still doesn’t work and I don’t know why (I wanted to create an alias for the entire table I had) but I’ve resolved just by deleting the alias name and using standard table names
What’s diagnostics?
oracle 2020-01-13 06:25:28
hi ….i want to learn MySQL dba…can anybody please help where should i start with?
madno 2020-01-13 07:37:20
oracle 2020-01-13 06:25:28
hi ….i want to learn MySQL dba…can anybody please help where should i start with?
You can start with MySQL architecture first.. then move on to administration of MySQL
Opensource 2020-01-13 08:49:49
madno 2020-01-13 07:37:20
You can start with MySQL architecture first.. then move on to administration of MySQL
Any documents on mysql architecture, if anyone have can you share it
MasterZiv 2020-01-13 09:20:59
Opensource 2020-01-13 08:49:49
Any documents on mysql architecture, if anyone have can you share it
It’s on the site. All is there.
ICUI4CUtwo 2020-01-13 09:45:35
input only date
MasterZiv 2020-01-13 09:58:07
ICUI4CUtwo 2020-01-13 09:45:35
input only date
Form a full, correct question, then you possibly be answered.
MasterZiv 2020-01-13 09:58:52
ICUI4CUtwo 2020-01-13 09:45:35
input only date
Don’t post pictures,if this is not strictly necessary
ICUI4CUtwo 2020-01-13 10:22:10
from current date i want to insert curdate,DAY,DAYNAME,DAYOFWEEK,MONTHNAME,MONTHNAME,MONTH,QUARTER,YEAR dynamically insert into table
MasterZiv 2020-01-13 10:23:19
ICUI4CUtwo 2020-01-13 10:22:10
from current date i want to insert curdate,DAY,DAYNAME,DAYOFWEEK,MONTHNAME,MONTHNAME,MONTH,QUARTER,YEAR dynamically insert into table
use INSERT statement!
ICUI4CUtwo 2020-01-13 12:11:42
eg given 2009-01-01 and 2009-01-13 it would return a one column table with the values:
2009-01-01
2009-01-02
2009-01-03
2009-01-04
2009-01-05
2009-01-06
2009-01-07
2009-01-08
2009-01-09
2009-01-10
2009-01-11
2009-01-12
2009-01-13
ICUI4CUtwo 2020-01-13 12:15:27
i mean list all date between two dates
MasterZiv 2020-01-13 12:19:37
ICUI4CUtwo 2020-01-13 12:11:42
eg given 2009-01-01 and 2009-01-13 it would return a one column table with the values:
2009-01-01
2009-01-02
2009-01-03
2009-01-04
2009-01-05
2009-01-06
2009-01-07
2009-01-08
2009-01-09
2009-01-10
2009-01-11
2009-01-12
2009-01-13
We don’t do your work instead of you.
We don’t write queries instead of you.
Do your job yourself or quit.
ICUI4CUtwo 2020-01-13 12:45:39
sry bro
Gunjan Kumar 2020-01-13 15:08:25
Any one guide on Performance Tuning & Capacity Planning.
oracle 2020-01-13 17:26:46
madno 2020-01-13 07:37:20
You can start with MySQL architecture first.. then move on to administration of MySQL
fron google only or any specific good site or video?
ICUI4CUtwo 2020-01-13 17:34:03
Gunjan Kumar 2020-01-13 15:08:25
Any one guide on Performance Tuning & Capacity Planning.
your server ram size
madno 2020-01-13 17:39:13
oracle 2020-01-13 17:26:46
fron google only or any specific good site or video?
U shud directly go through MySQL offcial documentation .. anything u don’t understand ..Google it
oracle 2020-01-13 18:35:45
madno 2020-01-13 17:39:13
U shud directly go through MySQL offcial documentation .. anything u don’t understand ..Google it
ok..thanks
← prev | next →