ClickHouse/tests/queries/0_stateless/00938_basename.sql

6 lines
221 B
MySQL
Raw Normal View History

2019-04-29 10:18:02 +00:00
SELECT basename('/usr/bin/bash');
SELECT basename('/usr/bin/bash/');
SELECT basename('bash');
SELECT basename('C:\\\\Users\\Documents\\test_file');
SELECT basename(path('http://example.com/folder_1/folder_2/script.php'))