Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
16いいね 427回再生

SQL Tips extract First name and last name from full name #sql #interview #sqltips #database

BSTRING_INDEX(full_name, ' ', 1): Returns the substring from the start up to the first space, which is the first name.
SUBSTRING_INDEX(full_name, ' ', -1): Returns the substring from the last space to the end, which is the last name.

コメント