Skip to content
Snippets Groups Projects
Commit 3838cdc2 authored by Philip Lijnzaad's avatar Philip Lijnzaad
Browse files

select distinct ...

parent 6a38dcb1
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,7 @@ WHERE sa.db_name = 'ensgene'
dump_data($sql, $satdb, 'seqtag_alias');
$sql = "
SELECT distinct st.*
SELECT distinct st.*
FROM $satdb.seqtag st,
$satdb.seqtag_alias sa,
$litedb.gene lg
......@@ -272,7 +272,7 @@ WHERE sa.db_name = 'ensgene'
dump_data($sql, $satdb, 'seqtag');
$sql = "
SELECT distinct f.*
SELECT distinct f.*
FROM $satdb.frequency f,
$satdb.seqtag_alias sa,
$litedb.gene lg
......@@ -354,7 +354,7 @@ sub dump_embl {
my @small_ones = qw(externalDB);
foreach my $table ( @small_ones ) {
$sql = "select * from $satdb.$table";
$sql = "select distinct * from $satdb.$table";
dump_data($sql, $satdb, $table);
}
......@@ -519,7 +519,7 @@ SELECT distinct ox.*
dump_data($sql, $satdb, 'objectXref');
$sql="
SELECT x.*
SELECT distinct x.*
FROM $litedb.gene lg,
$satdb.clone cl,
$satdb.contig ctg,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment