UNION का इस्तेमाल करें SELECT 1 as id, 103 as value UNION SELECT 2 as id, 556 as value यह SQLFiddle देखें