How to know the most queried item? (please help me)
I'm doing a library's bookkeeping.
In a report I wanna know what's the book more queried or the most looked. But I dont know how to put the query in SQL.
can you please tell me?
the columns in the table are:
books varchar2(30)
author varchar2 (30)
(THERE's NOT any Book_id) or something.
please help me.
That's not a Forms question. Please direct your question to the appropriate forum.
However, using those columns, there is no way to tell the book most queried, unless you store that information yourself, or use some sort of auditing in the database.
Regards,
Robin Zimmermann
Forms Product Management
Similar Messages
-
Hey,
I have Final Cut Express 4.0.1 and a JVC everio camera.
Whenever i try to import my files to FCE via "Log and transfer", it just doesn't do anything, as if FCE doesn't know the camera is there,
please help !FCE 4.0.1 can only capture DV/HDV which is produced by cameras using Mini-DV TAPES and cameras shooting AVCHD which is a high definition format.
If your camera shoots standard definition on Memory Cards, DVDs or Hard Drives it will not work in FCE.
What is your camera's exact model name and number? -
I have upgraded to the iPhone 5s and I have transferred all information over but I do not know how to transfer the phone service. Please help
The phone should have activated when you set the device up. If it didnt, contact your carrier
-
How to empty the JTextField automatically? Please HELP me.
Hello,
This is my full listing program:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class PortGUI extends JFrame
private JButton btOk;
private JButton btCancel;
private JButton btReply;
private JLabel lblServIP;
private JLabel lblAuth;
private JLabel lblThrd;
private JLabel lblAcc;
private JLabel lblMax;
private JLabel lblAuthent;
private JLabel lblAdm;
private JLabel lblReplServ;
private JCheckBox chkUsers;
private JCheckBox chkEnbDbg;
private JOptionPane pnlErr = new JOptionPane();
public PortGUI()
// Create main panel
JPanel topPanel = new JPanel();
topPanel.setLayout(null);
getContentPane().add( topPanel );
// Create Server Settings panel
JPanel panelsett = new JPanel();
panelsett.setLayout(null);
panelsett.setBounds(5,5,680, 200);
// panelsett containers
final JTextField fldServIP = new JTextField();
fldServIP.setBounds( 160, 30, 100, 25 );
fldServIP.setFocusAccelerator( 'v' );
panelsett.add(fldServIP);
lblServIP = new JLabel( "Server IP" );
lblServIP.setBounds( 20, 30, 100, 25 );
lblServIP.setLabelFor( fldServIP );
panelsett.add(lblServIP);
final JTextField fldAuth = new JTextField();
fldAuth.setBounds( 600, 30, 50, 25 );
fldAuth.setFocusAccelerator( 'v' );
panelsett.add(fldAuth);
lblAuth = new JLabel( "Incoming Radius Authentication Port");
lblAuth.setBounds( 350, 30, 300, 25 );
lblAuth.setLabelFor(fldAuth);
panelsett.add(lblAuth);
final JTextField fldThrd = new JTextField();
fldThrd.setBounds( 160, 60, 50, 25 );
fldThrd.setFocusAccelerator( 'a' );
panelsett.add(fldThrd);
lblThrd = new JLabel( "Worker Threads" );
lblThrd.setBounds( 20, 60, 100, 25 );
lblThrd.setLabelFor(fldThrd);
panelsett.add(lblThrd);
final JTextField fldAcc = new JTextField();
fldAcc.setBounds( 600, 60, 50, 25 );
fldAcc.setFocusAccelerator( 'a' );
panelsett.add( fldAcc );
lblAcc = new JLabel( "Incoming Radius Accounting Port" );
lblAcc.setBounds( 350, 60, 300, 25 );
lblAcc.setLabelFor( fldAcc );
panelsett.add( lblAcc );
final JTextField fldMax = new JTextField();
fldMax.setBounds( 160, 90, 50, 25 );
fldMax.setFocusAccelerator( 'c' );
panelsett.add( fldMax );
lblMax = new JLabel( "Maximum Consoles" );
lblMax.setBounds( 20, 90, 200, 25 );
lblMax.setLabelFor( fldMax );
panelsett.add(lblMax);
// Create combo box
String[] AuthStrings = {"Local Server", "Proxy Server", "Local and Proxy"};
JComboBox AuthList = new JComboBox(AuthStrings);
AuthList.setSelectedIndex(2);
AuthList.setSelectedItem(null);
AuthList.setBounds(450, 90, 200, 25);
panelsett.add(AuthList);
lblAuthent = new JLabel( "Authenticator" );
lblAuthent.setBounds( 350, 90, 100, 25 );
lblAuthent.setLabelFor( AuthList);
panelsett.add(lblAuthent);
final JTextField fldAdm = new JTextField();
fldAdm.setBounds( 160, 120, 50, 25 );
fldAdm.setFocusAccelerator( 'c' );
panelsett.add( fldAdm );
lblAdm = new JLabel( "Admin TCP Port" );
lblAdm.setBounds( 20, 120, 150, 25 );
lblAdm.setLabelFor( fldAdm );
panelsett.add(lblAdm);
// create checkbox
chkUsers = new JCheckBox("Cache Users in Memory");
chkUsers.setBounds(350, 120, 250, 25);
chkUsers.setMnemonic('m');
chkUsers.setSelected(false);
panelsett.add(chkUsers);
final JTextField fldReplServ = new JTextField();
fldReplServ.setBounds( 160, 150, 100, 25 );
fldReplServ.setFocusAccelerator( 'c' );
panelsett.add( fldReplServ );
lblReplServ = new JLabel( "Replication Server IP" );
lblReplServ.setBounds( 20, 150, 200, 25 );
lblReplServ.setLabelFor(fldReplServ);
panelsett.add(lblReplServ);
chkEnbDbg = new JCheckBox("Enable Debug Trace Output");
chkEnbDbg.setBounds(350, 150, 250, 25);
chkEnbDbg.setMnemonic('n');
chkEnbDbg.setSelected(false);
panelsett.add(chkEnbDbg);
Border etched;
etched = BorderFactory.createLoweredBevelBorder();
TitledBorder title;
title = BorderFactory.createTitledBorder(etched, "Server Settings");
title.setTitleJustification(TitledBorder.LEFT);
panelsett.setBorder(title);
topPanel.add(panelsett);
// Create a button
btOk = new JButton( "OK" );
btOk.setBorder(BorderFactory.createRaisedBevelBorder());
btOk.setBounds( 170, 270, 100, 35 );
btOk.setEnabled(false );
topPanel.add(btOk);
btReply = new JButton( "Apply" );
btReply.setBorder(BorderFactory.createRaisedBevelBorder());
btReply.setBounds( 300, 270, 100, 35 );
topPanel.add(btReply);
btCancel = new JButton( "Cancel" );
btCancel.setBorder(BorderFactory.createRaisedBevelBorder());
btCancel.setBounds( 420, 270, 100, 35 );
btCancel.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
System.exit(0);
topPanel.add(btCancel);
// Action for each components
fldServIP.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldServIP.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldServIP.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldServIP.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
fldAuth.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldAuth.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldAuth.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldAuth.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
fldThrd.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldThrd.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldThrd.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldThrd.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
fldAcc.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldAcc.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldAcc.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldAcc.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
fldMax.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldMax.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldMax.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldMax.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
fldAdm.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldAdm.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldAdm.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldAdm.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
fldReplServ.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldReplServ.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldReplServ.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
public void removeUpdate( DocumentEvent event )
// Prevent the user from entering a blank field
if( fldReplServ.getText().length() == 0 )
btOk.setEnabled( false );
else
// Do the same error checking as insertUpdate()
insertUpdate( event );
public void changedUpdate( DocumentEvent event )
// Nothing to do here
public static void main(String[] args)
//int windowWidth, windowHeight;
int windowWidth = 700;
int windowHeight = 400;
PortGUI window = new PortGUI();
window.setTitle("");
Dimension windowSize = window.getSize();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
window.setSize(windowWidth, windowHeight);
window.setLocation((screenSize.width - windowWidth) / 2, (screenSize.height - windowHeight) / 2);
window.setVisible(true);
window.setResizable(false);
On that listing program, my problem is in field document listener, that is:
fldThrd.getDocument().addDocumentListener(new DocumentListener()
public void insertUpdate( DocumentEvent event )
String sString = fldThrd.getText();
try
int iValue = Integer.parseInt( sString );
btOk.setEnabled( true );
catch( NumberFormatException e )
if( fldThrd.getText().length() == 4 )
JOptionPane.showMessageDialog(pnlErr,
"Please try again",
"Error Message",
JOptionPane.ERROR_MESSAGE);
if I execute this program, the textfield can only receive integer input. If input is string til 4 times, the dialog panel will display error message. After that, textfield must be empty (delete automatically).
I want to ask you about how I can emptying that textfield automatically after the dialog panel is appear?
Please help me to get out from my problem.
Thank's for your help,
harHi,
To empty the text file, use the method setText("").
eg. fldServIP.setText("");
fldServIP is one of your textfield. So whereever you are showing the dialog box, use setText("") for the corresponding textfields.
All the best -
Hi, I am new to you and I am having problems with my Windows Media. I ran a fix it test on it and it came back saying that the player is corrupt and can not read the dll. Plus I have gotten pop-ups saying the script on the page had quit running 2 or 3 times, that's what made me check it. I have Quick Time on here, I have never used it before. How do I properly go about making the the switch? Do I delite the Windows Media? Do I need to do anything to QuickTime other than just open it? Thank you so much for your time & help.
Terri YoungWhen you say "account," do you mean your iTunes library, because your iTunes library is what is on your computer? Your iTunes library does not have an email address. An account that is related to iTunes is your Apple ID (which is an email address) and you use it as your user name to sign in to the iTunes Store, to make purchases. Changing your Apple ID will not make songs disappear from your computer's iTunes library.
If you had an Apple ID and used it to make song purchases from the iTunes Store, and then started using a different Apple ID, you should be able to re-download the songs purchased with the old Apple ID. In iTunes, sign in to the iTunes Store using your OLD Apple ID (and password). That may not be your current email address, but Apple uses it as your user name, so it does not matter.
On the iTunes Store Home screen, click on Purchased under QUICK LINKS. This takes you do the Purchased screen, where you can re-download previous song purchases (for that Apple ID) at no cost.
NOTE: If those song purchases are from more than a few years ago, you may also need to authorize your computer to play (and sync) songs for your old Apple ID.
For songs that were not purchased from the iTunes Store, if they are also gone, you cannot get them back unless you have a backup (or they are still loaded on your old iPod).
If that's not what you mean by "changed the email address on my account," please post back with more details. -
as I stated. the white in any file I open in PS s a warm white. I don't know how this happened or how to fix it. I do know it is not my PC or moniter. Only in PS. any hepl is appriciated, thanks, P
My5cats, Cris may have more to add but here are some thoughts. A calibrated monitor does have warm whites. We perceive a blue white as being correct but it isn't. i don't know if you are using monitor calibration or not. One possible area is that Photoshop is set to a paper or some other gamut. You can check (in PS) by going to the Edit menu > Color settings. Here is a picture of mine. I set the working space to sRGB which is used for the web and many printers. If you get a correct setting , consider saving it.
-
I know I should know the answer to this please help--xpost
Hello,
My daughter has an iphone 5, she has had it since July and has never plugged it into the computer. If I plug it in itunes asks if it should be backed up from a previous backup or set up as new phone. I don't want her to lose all her info, pics, imessage conversations etc. Should I even bother plugging it in? We share the same itunes account but she has her own apple id.
I know I'm being forgetful so I appreciate any help.....I need iphone for dummies!
Thanks so much
P.S. she has ios 7See your other post on this Topic...
https://discussions.apple.com/message/23249760#23249760 -
Don't know the protocol--iPod busted--please help
I'm not sure what the protocol is but I posted a request for assistance and others have since gotten replies, but not to my inquiry
All my songs were transferred to my new computer but will not download to my iPod. It erased the iPod but did not restore any music.
I've updated the software but everytime it says:
The iPod cannot bwe updated. The disk could not be read from or written to.
What do I do? I'm desperate! Plase help.this worked for me:
Cannibal Corpse, "ANYBODY Tried this!!!!****" #4, 05:37pm Oct 26, 2005 CDT -
How to know the items cost from the production order.
Dear friends,
When We close a production order, if we go to the summary tab we can see the total cost of the real component and cost of the real item. My question is how to know the cost of every component used for the real product? I run the stock Audit report, and there I see a field named Calcprice, in what table where can I find this field? to get the cost individual for each component in the moment i close the PO.
Thanks a lot.
DanielThanks a lot to everybody.
You are right Thanga,
That is the data I need, but how can I get it via query because I dont find the field to know the cost in the exactly moment when is created the receipt of productiion. I was trying to locate in tables IGN1 -- IGN12 but I dont get the cost field.
Do you have any idea how can I make a report?
Best Regards,
Daniel -
I logged onto my MacBook Air and it is asking me for my "local items" keychain password for several different things. I do not know what this is or how to get rid of it. Please help. Thanks.
There are several possible causes for this issue. Please take each of the following steps that you haven't already tried, testing after each one, until it's resolved. Back up all data before making any changes.
Step 1
Follow the directions in this support article.
Step 2
Open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.
Step 3
Open the Keychains folder as in Step 1. There should be a file in that folder with the name "login.keychain". If there is also a file iwith the name "login_renamed_1.keychain", then please do as follows:
Rename login.keychain to "login-old.keychain".
Rename login_renamed_1.keychain to "login.keychain".
You can then close the folder.
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
Delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.
Select
File ▹ Add Keychain...
from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file now named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred.
Select
Keychain Access ▹ Keychain First Aid
from the menu bar and repair the keychain. Quit Keychain Access. -
iTunes wont open for me. it keeps saying "the Disc "untitled playlist" cannot be read. An unknown error occurred (-69)." don't know how to get it to work. Please help
It is likely a hardware failure
http://support.apple.com/kb/TS3694?viewlocale=en_US#error1 -
I need to know how to delete the most recent version of Firefox. I JUST downloaded it tonight and my computer doesn't have that little edit bar to work with so I can download the proper Adobe player and my internet has been screwed up ever since I downloaded the new version of Firefox. I just want the old version of it back since I apparently can't download the Adobe stuff that is necessary to keep my computer safe from Hackers. It sure would have been nice to know there was an issue with the new Firefox Update BEFORE I uploaded it. I have Vista which is usually an issue with both Adobe and Firefox. I don't seem to be able to run much of Adobe at all on my computer because of the Vista.
== This happened ==
Every time Firefox openedI have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.
-
Hello I'd like to know how to walk redo my iMessage on my ipod touch 4th . I connect and then says to choose an email address and it says < Check> and this is the me that his brings back on the menu. So please help me!
You can try
FaceTime, Game Center, Messages: Troubleshooting sign in issues
However, some other users have reported that did not work. No real solution has been posted here yet -
i downloaded lion but lost the setup assistant. please help me recover the setup assistant. i do not know where/how to find/enter information in the terminal as was suggested.
Launch the Terminal application; e.g., by entering the first few letters of its name in a Spotlight search. Copy or drag -- do not type -- the line below into the Terminal window, then press return:
sudo rm /var/db/.AppleSetupDone
You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. Confirm.
Reboot. The Setup Assistant will launch. -
how to know the carrier of iphone 5 if its showing activation failed please insert a sim card and i don't know what sim card goes in it and if it is cdma or gsm.
i stuck on this step. i can't go further it just shows imei and meid number but iccid is displayed unknown. please help me to move further. thank u.contact apple.
Maybe you are looking for
-
Before I buy pages 4.1 I was just checking that I be able to open older word docs, since installing lion we have not been able to open older word docs. Many Thanks
-
Which SQL server edition do I need? Developer or Standard?
I currently work for a large firm using SQL Server 2012 with Management Studio - I use this to connect to our database and run querys against. I also use Visual Studio 2013 to create .rdlc report files. I need to replicate what I'm doing for the larg
-
Formatting Font in RichTextbox (C#)
I'm having this line: richTextBox1.Text = richTextBox1.Text + "Patient's Name : " + patient.Name + "\n"; Which fetches the name from my xml file. I want to Color & Bold the name part only in the richtextbox. But I'm not able to do that in my richtext
-
Customer : Exception 7 in function module VIEW_KUxxV
Hi, While Billing facing this problem 00 Customer : Exception 7 in function module VIEW_KUxxV 10 The bill-to party could not be determined 10 The payer could not be determined tx in advance Bhushan Kolte
-
I've got a 90 min movie with 4 subtitle tracks (ENG, FR, IT, ESP) all imported from .txt scripts. I've got about 2000 subtitles. I'm living a nightmare. Here is what I'm struggling with: 1. If I try to import the ST file with the indication to start