Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    [sql] query annidiate in mysql

    Provo a eseguire questa query annidata in mysql 4.0.12 ma mi esce un messaggio di errore:

    mysql> select favorites.wfv_id
    -> from favorites, users, workflows, versions
    -> where favorites.username=users.username and favorites.wfv_id=versions.wfv_id and workflows.wf_id=version
    s.wf_id and users.activity in (select activity from users where username='root');
    ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server versi
    on for the right syntax to use near 'select activity from users where username='root')' at line 3

    xke'?


  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.