stat.execute("create table entry(id int, region int, author int)");
stat.execute("create table meta(id int, type varchar(255), value varchar(255))");
stat.execute("create table person(id int, name varchar(255))");
stat.execute("insert into person(id, name) values(3, 'edgar')");
stat.execute("insert into meta(id, type, value) values(2, 'Region', 'LATAM')");
stat.execute("insert into entry(id, region, author) values(1, 2, 3)");
ResultSetrs=stat.executeQuery("select entry.*, region.*, author.* from entry entry join meta region on entry.region=region.id join person author on entry.author=author.id");