答案 0 :(得分:0)
您可以像在代码笔中一样设置标题中列的宽度。使用此功能,您可以强制滚动条,请参见添加的代码笔。
SELECT id, msg_id
FROM (
SELECT user_id AS id, max(msg_id) as msg_id
FROM Outbox
WHERE recipient = 22
GROUP BY user_id
UNION
SELECT recipient, max(msg_id)
FROM Outbox
WHERE user_id = 22
GROUP BY recipient
) as q
ORDER BY msg_id DESC