Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
select instr(json_unquote(json_extract('{"name": "Gamma Electronics"}','$.name')) COLLATE utf8mb4_0900_ai_ci, 'ga')
(Number(this.number)+1).toString().padStart(5,'0')
scope.mysqldb.commit()
{"total_websites": {"cardinality": {"field" : "website.keyword"}}}
{ "query": { "match_phrase_prefix": { "cp_name": { "query": "сбер" } } } }
#lock=threading.Lock() lock.acquire() #операции с базой данных lock.release()
<img src="/static/images/{{img}}">
const attrs = element.getAttributeNames().reduce((acc, name) => { return {...acc, [name]: element.getAttribute(name)}; }, {});
SELECT a.*, c.* FROM `products` as a LEFT JOIN (SELECT MAX(id) as id, product from `prices` GROUP BY product) as b on b.product=a.id LEFT JOIN `prices` as c on c.id=b.id LIMIT 10
a=''' " ' " '''
a=""" " ' " """