Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQL クエリ:SELECT sum(value) as valuee FROM table_name WHERE id = $id_session AND year = $year
SELECT sum(value) as valuee FROM table_name WHERE id = $id_session AND year = $year
このクエリは私に何も与えていません。
しかし、私がこのようにすると:
SELECT sum(value) as valuee FROM table_name - WHERE 句なしで機能します。
SELECT sum(value) as valuee FROM table_name