📜  按类型排序 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:42.633000             🧑  作者: Mango

代码示例1
SELECT node.created AS node_created, node.nid AS nid
FROM 
{node} node
WHERE (( (node.status = '1') AND (node.type IN  ('facebook', 'instagram', 'tweet', 'youtube')) AND (node.type IN  ('facebook', 'instagram', 'youtube')) ))
ORDER BY node_created AND node.type ASC
LIMIT 12 OFFSET 0