Compare the resulta of a count sql into bash - Mailing list pgsql-sql

From manuel antonio ochoa
Subject Compare the resulta of a count sql into bash
Date
Msg-id AANLkTikw09TZJGa8MMWPb9Rwt1_2Nom2fZjzVB8NhR+G@mail.gmail.com
Whole thread Raw
Responses Re: Compare the resulta of a count sql into bash
Re: Compare the resulta of a count sql into bash
List pgsql-sql
<br />Hello,<br />I have the next :<br /><br />COUNTONE=`/var/lib/pgsql/bin/./psql -U 'Thor'   -d princlocal -p 5432 -h
192.170.1.82 -c "select count(*) from monterrey.${NOMBRETB}"`<br />COUNTTWO=`/var/lib/pgsql/bin/./psql -U 'Thor'  
-dprinclocal-p 5432 -h 192.170.1.82  -c "select count(*) from monterrey.$nombre where recibo between '$FI' and
'$FF'"<br/><br />I want to compare the result countone with countwo  how does it works  ? <br /><br /><br /><br />thnks
<br/><br /><br /><br /> 

pgsql-sql by date:

Previous
From: "Oliveiros d'Azevedo Cristina"
Date:
Subject: Re: how to get row number in select query
Next
From: Craig Ringer
Date:
Subject: Re: check files .backup