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.
そして、私はそれらの間の日の時差を取得する必要があります。TEMP TABLEを使用せずにこれを行う簡単な方法はありますか?
前もって感謝します
select timediff(min(time_out), min(time_in)) as time_diff from your_table group by emp_id, `date`