You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" `user_id` varchar(100) CHARACTER SET utf8 DEFAULT NULL,\n" +
1706
+
" `traveldate` datetime(6) DEFAULT NULL,\n" +
1707
+
" `fee` decimal(10,0) DEFAULT NULL,\n" +
1708
+
" `days` int(11) DEFAULT NULL,\n" +
1709
+
" `blob` longblob DEFAULT NULL\n" +
1710
+
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4\n" +
1711
+
"dbpartition by mod_hash(user_id) dbpartitions 16;");
1712
+
1713
+
1714
+
List<Map<String, Object>> maps = executeQuery(mycatConnection, "SELECT * FROM\tdb1.company WHERE id IN (SELECT DISTINCT id FROM \tdb1.travelrecord )");
1715
+
1716
+
List<Map<String, Object>> maps1 = executeQuery(mycatConnection, "SELECT * FROM\tdb1.company WHERE id IN (SELECT DISTINCT fee FROM \tdb1.travelrecord )");
0 commit comments