Converting from MySQL

Поиск
Список
Период
Сортировка
От Ertan Küçükoğlu
Тема Converting from MySQL
Дата
Msg-id 000101d4b298$61f471d0$25dd5570$@1nar.com.tr
обсуждение исходный текст
Ответы Re: Converting from MySQL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-sql
Hello,

I am trying to install a mail server using PostgreSQL on a Debian 9 Stretch.
Document I am following is for MySQL. I converted other simple SQL commands.
Failed to find PostgreSQL equivalent for below one because I did not
understand what it does in the first place.

SELECT
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
FROM users WHERE email='%s'

Any help is appreciated.

Thanks & regards,
Ertan Küçükoğlu



В списке pgsql-sql по дате отправления:

Предыдущее
От: Steve Midgley
Дата:
Сообщение: Re: How to create index on json array in postgres
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Converting from MySQL