ClickHouse/tests/queries/0_stateless/00938_basename.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

6 lines
221 B
SQL

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'))