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.
サンプル:
ID firstname lastname 1 jerry cai
文字列「jerrycai」を取得しました。これらの2つのフィールドから一度選択し、それらを組み合わせてから「jerrycai」と比較する必要があります。
以下が機能する可能性があると推測してください。
select * from user where firstname+lastname='jerrycai'
これをSQLで実装する方法はありますか?DB:アクセス
これができるのに連結する理由:
select * from user where firstname = 'jerry' AND lastname = 'cai';
しかし、あなたがしなければならない場合:
select * from user where firstname & lastname = 'jerrycai';